﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace OutputHelper
{
    public class OutputHelper
    {
        private static string outputPath = @"D:\Work\Doctorat\My Work\dot net\jMetal.net\Output";

        private static OutputHelper _instance;

        public static OutputHelper Instance
        {
            get { return _instance ?? (_instance = new OutputHelper()); }
        }

        public string Problem { get; set; }
        public string Algorithm { get; set; }

        public static string OutputPath
        {
            get { return outputPath; }
        }

        public string GetOutputPath
        {
            get { return Path.Combine(outputPath, Problem + " " + Algorithm); }
        }
    }
}
